/**
 * 
 */
package ar.edu.unq.tpi.uis.tepe3.dominio;

/**
 * @author daniel
 *
 */
public class Privilege {
	
	private Long id;
	private Grantable grantable;
	private Folder folder;
	private PrivType type;

	public Privilege() {
	}
	
	public Long getId() {
		return id;
	}

	private void setId(Long id) {
		this.id = id;
	}

	/**
	 * @param type the type to set
	 */
	public void setType(PrivType type) {
		this.type = type;
	}

	/**
	 * @return the type
	 */
	public PrivType getType() {
		return type;
	}

	/**
	 * @param folder
	 */
	public void setFolder(Folder folder) {
		this.folder = folder;
	}

	/**
	 * @return
	 */
	public Folder getFolder() {
		return this.folder;
	}

	/**
	 * @param grantable
	 */
	public void setGrantable(Grantable grantable) {
		this.grantable = grantable;
	}

	/**
	 * @return
	 */
	public Grantable getGrantable() {
		return this.grantable;
	}

}
